package com.project.web.controller;

import javax.annotation.Resource;

import com.project.service.BookInfoService;
import com.project.service.BookTypeService;
import com.project.service.BorrowReturnInfoService;
import com.project.service.DeptInfoService;
import com.project.service.ReaderInfoService;
import com.project.service.RoleService;

/**
 * Generic Controller include all service.
 * 
 * @author travisl@synnex.com
 * 
 */
public abstract class GenericController {

	@Resource(name = "bookInfoService")
	protected BookInfoService bookInfoService;

	@Resource(name = "bookTypeService")
	protected BookTypeService bookTypeService;

	@Resource(name = "borrowReturnInfoService")
	protected BorrowReturnInfoService borrowReturnInfoService;

	@Resource(name = "deptInfoService")
	protected DeptInfoService deptInfoService;

	@Resource(name = "readerInfoService")
	protected ReaderInfoService readerInfoService;

	@Resource(name = "roleService")
	protected RoleService roleService;

}
